import { getList_api } from "./api";
import request, { POST } from "@/utils/request";

class Home {
  /**
   * 接口封装示例
   * @param {object} data
   * @returns {*}
   */
  getList(data) {
    return request({
      method: POST, // 请求类型
      url: getList_api,
      data,
    });
  }
}

export default new Home();
